package com.zyong.design.pattern.state.case2;

/**
 * 奖品发放完毕状态
 * @author zyong
 */
public class DistributeOutAbstractState extends AbstractState {
    Activity activity;

    public DistributeOutAbstractState(Activity activity) {
        this.activity = activity;
    }

    @Override
    public void deductingPoints() {
        System.out.println("奖品发放完了，请下次再参加");
    }

    @Override
    public boolean raffle() {
        System.out.println("奖品发放完了，请下次再参加");
        return false;
    }

    @Override
    public void distributePrizes() {
        System.out.println("奖品发放完了，请下次再参加");
    }
}
